<template>
  <div id="app">
    <BasicLayout />
  </div>
</template>

<script setup lang="ts">
import BasicLayout from "@/layouts/BasicLayout.vue";
import { health } from '@/api/mainController.ts'
import { useLoginUserStore } from '@/stores/useLoginUserStore.ts'
//测试接口连通性
health().then((res) => console.log(res))
const loginUserStore = useLoginUserStore()
loginUserStore.fetchLoginUser()
</script>
